package com.cckat.service;

import com.cckat.base.BaseService;
import com.cckat.entity.Role;

import java.util.List;
import java.util.Map;

/**
 * @author 静海基地
 */
public interface RoleService extends BaseService<Role> {

    Map<String, List<Role>> findRoleList(Long adminId);

    List<Map<String, Object>> findZnodes(Long roleId);

    void assignPermission(Long roleId, List<Long> permissionIds);

}
